FROM golang:1.10.4-alpine

ADD . /go/src/app

WORKDIR /go/src/app

RUN  go build -v -o /go/src/app/jenkins-app

mvn sonar:sonar -Dsonar.host.url=http://192.168.40.131:9000 -Dsonar.login=squ_076648927af5d2ab48d41af0bbec79115dde0734

CMD ["./jenkins-app"]
